pp108 : Creating UI using the Field Chooser

Creating UI using the Field Chooser

This topic describes the procedure to access and use the Field Chooser in an XForm.

You can use the Field Chooser to view the response and request parameters of a model. Using the available parameters, you can create the input and output user interface of an XForm.

  1. Open the XForm in the XForms Designer.
  2. Click (Manage Models) from the toolbar.

    Note:
    The Manage Models icon ( ) is available only in the advanced toolbar of the XForms Designer. Check Advanced in the toolbar, to view it.


    The Manage Models window appears, displaying the models available in the XForm.
  3. Click for the appropriate model. The Fields - <model> window appears.

    Note:
    You can select a model from the Model drop-down list to view its request and response fields.

  4. Drag a field from the Fields pane to the XForm. The control associated with the field is added to the XForm. The model and reference for the control are updated in its property sheet. In case of complex data or non-transactional data, specify the complete XPath of the field in the control's property sheet.
  5. Click to save your changes.